package com.xuecheng.user.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @author 勾新杰
 * @version 1.0
 * @description: 手机号未注册
 * @date 2025/3/10 15:43
 */
public class AuthCellPhoneHasNoRegisterException extends XCPlusBaseException {

    AuthCellPhoneHasNoRegisterException(String message) {
        super(message);
    }

    public static void cast() {
        throw new AuthCellPhoneHasNoRegisterException(AuthError.AUTH_CELL_PHONE_HAS_NO_REGISTER.getErrMsg());
    }
}
